package com.jz.community.moduleshoppingguide.nearshop.ui;

import com.jz.community.basecomm.bean.baseGoods.BaseGoodsInfo;
import com.jz.community.basecomm.mvp.MVPContract;
import com.jz.community.moduleshoppingguide.nearshop.bean.GoodsInfo;
import com.jz.community.moduleshoppingguide.nearshop.bean.NearShopCategoryBean;
import com.jz.community.moduleshoppingguide.nearshop.bean.NearShopGoodsRight;
import com.jz.community.moduleshoppingguide.nearshop.bean.ShopInfoBean;

import java.util.List;

public interface NearShopGoodsView {

    interface View extends MVPContract.View {

        void showNearShopInfoes(ShopInfoBean shopInfoBean);

        void showGoodsInfoes(GoodsInfo baseGoodsInfo, NearShopGoodsRight goodsRight);

        void showNearShopCategory(List<NearShopCategoryBean> categoryBeanList);

        void showNearShopGoods(BaseGoodsInfo goodsList, int type);

        void showError(String s);
    }

    interface Presenter extends MVPContract.Presenter<NearShopGoodsView.View> {

        void nearShopInfoes(String shopId);

        void getGoodsInfoes(String filter, int page, int size, NearShopGoodsRight goodsRight);

        void getNearShopGoods(int page, int size, String shopId, String categoryId, String name, int type);

        void nearShopCategory(String shopId);
    }
}
